package com.chw.admin.permission;
import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;

public interface ISysPermissionService {

	PageInfo<Map<String,Object>> pageModule(String record, Integer currentPage, Integer pageSize) throws Exception;
	
	void deleteModule(ModulePermission record) throws Exception;
	
	List<Map<String,Object>> getMenuPermission(String id,String type) throws Exception;
	
	List<Map<String,Object>> getFuncPermission(String id,String type) throws Exception;
	
	void saveOrUpdatePermission(String id,String type,String permissionid,String flag) throws Exception;
	
	List<Map<String,Object>> findModulePermissionByUser() throws Exception;
}
